<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('reset_password/{token}', ['as' => 'password.reset', function($token)
{
    // implement your reset password route here!
}]);

Route::get('/', function () {
    return redirect('/admin');
});

Route::get(
    '/hello-world',
    [
        'middleware' => \Xy\Rbac\Middleware\AccessAuthenticateMiddleware::class,
        function () {
           return "hell world";
        }
    ]
);

Route::get('/test', '\App\Api\V1\Controllers\RbacController@index');
